import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import VueAwesomeSwiper from "vue-awesome-swiper";
import Tips from './tools/tips'
import 'swiper/css/swiper.css'
import 'animate.css'
Vue.use(VueAwesomeSwiper /* { default options with global component } */ );
Vue.config.productionTip = false;

import {
  Carousel,
  CarouselItem,
  Select,
  Option,
  Input,
  Pagination,
  Dialog,
  Message,
} from "element-ui";
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Select);
Vue.use(Option);
Vue.use(Input);
Vue.use(Pagination);
Vue.use(Dialog);
import {
  post
} from './tools/http'
Vue.prototype.$post = post;
Vue.prototype.$message = Message;
Vue.prototype.$Tips = Tips.install;
new Vue({
  router,
  render: h => h(App)
}).$mount("#app");